package com.contest.entity;

import com.baomidou.mybatisplus.annotations.TableId;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;
import java.io.Serializable;

/**
 * 
 *
 * @author liuyf
 * @email 123456@qq.com
 * @date 2018-01-19 14:16:33
 */
@TableName("gaming_quiz")
public class GamingQuiz extends Model<GamingQuiz> implements Serializable {

    private static final long serialVersionUID = 1L;


    @TableId("fd_id")
	private String fdId;
	//所属用户
	@TableField("fd_user_id")
	private String fdUserId;
	//0:单双,1:大小,2:特码
	@TableField("fd_type")
	private Integer fdType;
	//竞猜时间
	@TableField("fd_time")
	private String fdTime;
	//竞猜号码
	@TableField("fd_quiz_num")
	private String fdQuizNum;
	//-1:输,1:赢
	@TableField("fd_result")
	private Integer fdResult;
	//
	@TableField("fd_odds")
	private BigDecimal fdOdds;
	//是否结算0:否,1是
	@TableField("fd_is_settlement")
	private Integer fdIsSettlement;
	/**
	 * 设置：主键
	 */
	public void setFdId(String fdId) {
			this.fdId = fdId;
	}
	/**
	 * 获取：主键
	 */
	public String getFdId() {
			return fdId;
	}
	/**
	 * 设置：所属用户
	 */
	public void setFdUserId(String fdUserId) {
			this.fdUserId = fdUserId;
	}
	/**
	 * 获取：所属用户
	 */
	public String getFdUserId() {
			return fdUserId;
	}
	/**
	 * 设置：0:单双,1:大小,2:特码
	 */
	public void setFdType(Integer fdType) {
			this.fdType = fdType;
	}
	/**
	 * 获取：0:单双,1:大小,2:特码
	 */
	public Integer getFdType() {
			return fdType;
	}
	/**
	 * 设置：竞猜时间
	 */
	public void setFdTime(String fdTime) {
			this.fdTime = fdTime;
	}
	/**
	 * 获取：竞猜时间
	 */
	public String getFdTime() {
			return fdTime;
	}
	/**
	 * 设置：竞猜号码
	 */
	public void setFdQuizNum(String fdQuizNum) {
			this.fdQuizNum = fdQuizNum;
	}
	/**
	 * 获取：竞猜号码
	 */
	public String getFdQuizNum() {
			return fdQuizNum;
	}
	/**
	 * 设置：-1:输,1:赢
	 */
	public void setFdResult(Integer fdResult) {
			this.fdResult = fdResult;
	}
	/**
	 * 获取：-1:输,1:赢
	 */
	public Integer getFdResult() {
			return fdResult;
	}
	/**
	 * 设置：
	 */
	public void setFdOdds(BigDecimal fdOdds) {
			this.fdOdds = fdOdds;
	}
	/**
	 * 获取：
	 */
	public BigDecimal getFdOdds() {
			return fdOdds;
	}
	/**
	 * 设置：是否结算0:否,1是
	 */
	public void setFdIsSettlement(Integer fdIsSettlement) {
			this.fdIsSettlement = fdIsSettlement;
	}
	/**
	 * 获取：是否结算0:否,1是
	 */
	public Integer getFdIsSettlement() {
			return fdIsSettlement;
	}

	@Override
	protected Serializable pkVal() {
			return this.fdId;
	}
}
